{% extends 'common/panel.html' %}

{% block panel %}
{% load humanize %}
{% load analysis_extras %}

<h3>Climage Change Vulnerabilities</h3>
<div class='freetext'>
<p>
<table  style='width:430px' class='analysis_report_container'>
    <tbody>
        <tr class="grey">
            <td colspan=2><b>Human</b></td>
        </tr>
        <tr>
            <td colspan=2>{{climate_impact}}</td>
        </tr>
        <tr class="grey">
            <td><b>Food</b></td>
            <td><b>Water</b></td>
        </tr>
        <tr>
            <td>{{default_value}}</td>
            <td>{{default_value}}</td>
        </tr>
    </tbody>
</table>
</div>

<h3>Human Impacts</h3>
<div class='freetext'>
<p>
<table  style='width:430px' class='analysis_report_container'>
    <tbody>
        <tr class="grey">
            <td><b>Proportion Developed</b></td>
        </tr>
        <tr>
            <td>{{human_influence|percentage:2}}</td>
        </tr>
        <tr class="grey">
            <td><b>Human Consumption</b></td>
        </tr>
        <tr>
            <td>{{human_consumption}}% of NPP</td>
        </tr>
        <tr class="grey">
            <td><b>Protected Areas</b></td>
        </tr>
        <tr>
            <td>{{default_value}}</td>
        </tr>
    </tbody>
</table>
</div>

<h3>Human Needs</h3>
<div class='freetext'>
<p>
<table  style='width:430px' class='analysis_report_container'>
    <tbody>
        <tr class="grey">
            <td><b>Proportion Suitable for Agriculture</b></td>
        </tr>
        <tr>
            <td>{{soil_suitability|percentage:0}}</td>
        </tr>
        <tr class="grey">
            <td><b>Water Stress Index</b></td>
        </tr>
        <tr>
            <td>{{rws_rating}} (RWSI = {{rws_index|floatformat:1}})</td>
        </tr>
    </tbody>
</table>
</div>

<h3>Social Aspects</h3>
<div class='freetext'>
<p>
<table  style='width:430px' class='analysis_report_container'>
    <tbody>
        <tr class="grey">
            <td><b>Percentage of World's Population</b></td>
        </tr>
        <tr>
            <td>{{perc_population|percentage:2}}</td>
        </tr>
        <tr class="grey">
            <td><b>Estimated Population in Poverty</b></td>
        </tr>
        <tr>
            <td>{{estimated_impovershed|intword}}</td>
        </tr>
        <tr class="grey">
            <td><b>Percentage of World's Impoverished</b></td>
        </tr>
        <tr>
            <td>{{perc_underweight_children|percentage:2}}</td>
        </tr>
    </tbody>
</table>
</div>

<p>

<style type="text/css">
h3 { font-weight: bold; }
</style>

{% endblock panel %}
